package c.e.a.b.f.b;

import b.i.b.f;
import c.e.a.b.e.c.v8;
import com.google.android.gms.measurement.internal.zzn;

/* compiled from: com.google.android.gms:play-services-measurement@@18.0.0 */
public final class k5 implements Runnable {
    public final /* synthetic */ zzn a;
    public final /* synthetic */ z4 b;

    public k5(z4 z4Var, zzn zzn) {
        this.b = z4Var;
        this.a = zzn;
    }

    public final void run() {
        this.b.a.R();
        k9 k9Var = this.b.a;
        zzn zzn = this.a;
        if (v8.a() && k9Var.j.g.o(p.J0)) {
            k9Var.a().g();
            k9Var.P();
            f.N(zzn.a);
            d b = d.b(zzn.w);
            d c = k9Var.c(zzn.a);
            k9Var.d().n.c("Setting consent, package, consent", zzn.a, b);
            k9Var.s(zzn.a, b);
            if (b.f(c)) {
                k9Var.p(zzn);
            }
        }
    }
}
